<?php 
    require_once('inc/conn.php');
 ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <?php 
             $sql="INSERT INTO wangzhan(insert_name,insert_dizhi,insert_phone,insert_QQ,insert_youqinglianjie,insert_URL,insert_banquan)VALUES('".$_POST['name']."','".$_POST['dizhi']."','".$_POST['phone']."','".$_POST['QQ']."','".$_POST['youqinglianjie']."','".$_POST['URL']."','".$_POST['banquan']."')";
            mysql_query($sql);
           echo "<script>alert('添加成功');window.location.href='wangzhanlist.php'</script>";
            mysql_close($conn);
     ?>
</body>
</html>